package com.wjf.shortlink.shortlink.dto.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

//短链接修改入参
@Data
public class ShortLinkUpdateReqDTO {
    //原始链接
    private String originUrl;
    //完整短链接
    private String fullShortUrl;
    //原始分组标识
    private String originGid;
    //分组标识
    private String gid;
    //有效期类型0：永久有效 1：自定义
    private Integer validDateType;
    //有效期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date validDate;
    //描述
    private String describe;
}
